﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace Demo8
{
    internal class Program
    {
        /// <summary>
        /// 运算符
        /// </summary>
        /// <param name="args"></param>
        static void Main(string[] args)
        {
            //算数运算符 + - * /  %
            //var num1 = 10;
            //var num2 = 3;
            //var result = num1 % num2;
            //Console.WriteLine(result);

            // 单价9.9,数量6,节假日8.8折，应付多少 ？
            var price = 9.9M;
            var account = 6;
            var saleOff = 0.88M;
            var result = price * account * saleOff;
            Console.WriteLine(result);

            // 让用户输入半径，计算该圆的周长和面积


            Console.ReadKey();
        }
    }
}
